/**
 * pixSWX is SWXformat API for pixLib
 *  
 * Copyright © 2007 Laurent Deketelaere, Aral Balkan, Francis Bourre
 * Part of the SWX (SWF Data Exchange Format) project. http://swxformat.org
 * Part of the pixLib project. http://pixlib.org
 *
 * Released under the open source MIT license.
 * http://opensource.org/licenses/mit-license.php
 */
import com.bourre.events.BasicEvent;
import com.bourre.events.EventType;
import com.bourre.log.PixlibStringifier;

class org.triptyk.pixswx.SWXResultEvent 
	extends BasicEvent 
{
	private var _oRaw;
	private var _sServiceMethod : String;

	public function SWXResultEvent( e : EventType, oRaw, sSWXMethodName : String ) 
	{
		super(e);
		_oRaw = oRaw;
		_sServiceMethod = sSWXMethodName;
	}

	public function getResult( Void ) 
	{
		return _oRaw;
	}

	public function getMethodName() : String
	{
		return _sServiceMethod;
	}

	public function toString() : String 
	{
		return PixlibStringifier.stringify(this);
	}
}